Easily recreate a server's "state" [closed]

Posted by Brandon Wamboldt on Server Fault See other posts from Server Fault or by Brandon Wamboldt
Published on 2013-02-08T15:36:09Z Indexed on 2014/08/19 4:23 UTC
Read the original article Hit count: 400

I want the ability to setup new servers for dev/testing/prod very easily. The reasons for being able to setup a new dev VM is obvious, but for prod my concern is adding a new production server/migrating to a new server.

I assume a traditional backup solution won't work as hardware may be different so the binaries/config might be different.

I want to get experience with puppet anyways, so I was thinking about creating a manifest that would setup my users, install Postgres, Nginx, PHP-FPM, etc, and configure them the way I specify. Then I could install puppet on a new server, copy down my manifest and apply it locally. This would make keeping my server configs in sync easier too.

Is there a better approach I'm not aware of, and does my approach have any pitfalls?

© Server Fault or respective owner

Related posts about linux

Related posts about puppet